package com.demo.service.serviceImpl;

import com.demo.dao.AppTabUsersDao;
import com.demo.model.BusUsersAccHistory;
import com.demo.model.TabMoneyShops;
import com.demo.model.TabUsers;
import com.demo.model.TabUsersShops;
import com.demo.service.AppTabUsersService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class AppTabUsersServiceImpl implements AppTabUsersService {

    @Resource
    private AppTabUsersDao dao;

    @Override
    public List<TabUsers> select_app_check_login(TabUsers users) {
        return dao.select_app_check_login(users);
    }

    @Override
    public boolean save(TabUsers users) {
        return dao.save(users);
    }

    @Override
    public List<TabUsers> findByloginname(String loginname) {
        return dao.findByloginname(loginname);
    }

    @Override
    public List<TabMoneyShops> select_money_shop_list() {
        return dao.select_money_shop_list();
    }

    @Override
    public List<TabMoneyShops> select_money_shop_isv_list() {
        return dao.select_money_shop_isv_list();
    }

    @Override
    public TabUsers findByid(String id) {
        return dao.findByid(id);
    }

    @Override
    public boolean update(TabUsers users) {
        return dao.update(users);
    }

    @Override
    public boolean update_mmxg(TabUsers users) {
        return dao.update_mmxg(users);
    }

    @Override
    public List<BusUsersAccHistory> searchByPage_his_app(String loginname) {
        return dao.searchByPage_his_app(loginname);
    }

    @Override
    public List<TabUsersShops> select_users_shops(String id) {
        return dao.select_users_shops(id);
    }
}
